package com.hb.trade.server.project.section.service.raw.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hb.core.pojo.project.section.entity.ClarifyConfirm;
import com.hb.core.pojo.project.section.entity.ClarifySection;
import com.hb.core.pojo.project.section.mapper.ClarifySectionMapper;
import com.hb.trade.server.project.section.service.raw.ClarifySectionService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 澄清答疑-标段关联表Service实现类
 *
 * @author Lix1ang
 * @date 2022-1-10 11:09:05
 */
@Service
public class ClarifySectionServiceImpl extends ServiceImpl<ClarifySectionMapper, ClarifySection> implements ClarifySectionService {

    @Override
    public List<ClarifySection> listClarifyConfirm(Long clarifyId) {
        QueryWrapper<ClarifySection> wrapper = ClarifySection.wrapper();
        wrapper.eq("clarify_id",clarifyId);
        return list(wrapper);
    }
}
